#include "DriveSpeaker.h"
#include "math.h"

uint16_t sine[100];
extern QueueHandle_t audioDataQueue;
void AudioTask( void* argument ) {

	HAL_TIM_Base_Start_IT( &htim6 );

	//HAL_DAC_Start_DMA( &hdac, DAC_CHANNEL_1, (const uint32_t*) sine, 100, DAC_ALIGN_12B_R );
	HAL_DAC_Start(&hdac, DAC_CHANNEL_1);

	for (;;) {
		osDelay(1);
	}
}

